package com.example.bitcoinconverter;

public class Converter {
		private static double btcPrice = 0;
		private static String btcPriceDate = "";

		public static double convertPlnToBtc( double pln ) {
			return pln*(1/btcPrice);
		}
		
		public static double convertBtcToPln( double btc ) {
			return btc*btcPrice;
		}
		
		public static void setBtcPrice( double value ) {
			btcPrice = value;
		}
		
		public static void setBtcPriceDate( String value ) {
			btcPriceDate = value;
		}
}
